func time.tzsetNum
9 uses
time (current package)
zoneinfo.go#L413: hours, s, ok = tzsetNum(s, 0, 24*7)
zoneinfo.go#L426: mins, s, ok = tzsetNum(s[1:], 0, 59)
zoneinfo.go#L439: secs, s, ok = tzsetNum(s[1:], 0, 59)
zoneinfo.go#L479: jday, s, ok = tzsetNum(s[1:], 1, 365)
zoneinfo.go#L487: mon, s, ok = tzsetNum(s[1:], 1, 12)
zoneinfo.go#L493: week, s, ok = tzsetNum(s[1:], 1, 5)
zoneinfo.go#L498: day, s, ok = tzsetNum(s[1:], 0, 6)
zoneinfo.go#L508: day, s, ok = tzsetNum(s, 0, 365)
zoneinfo.go#L533: func tzsetNum(s string, min, max int) (num int, rest string, ok bool) {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |